﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using Components.Data.Fields;

namespace Components.Website
{
  public partial class PhysicalPage : Page
  {
    protected void Page_Load(object sender, EventArgs e)
    {
      //FieldRepository fieldManager = new FieldRepository(new FieldFactory());
      //Field field1 = new Field(new Guid(), "Image", "/Images/Components.png|CoMponentS - a new way of CMSing!");
      //Field field2 = FieldRepository.Instance.GetField(new Guid(), "Image", "/Images/Components.png|CoMponentS - a new way of CMSing!");

      //ImageField image1 = Components.Request.Element.Fields["image"];
      //ImageField image2 = (ImageField)fieldManager.GetExtendedField("image", new Guid(), "Image", "/Images/Components.png|CoMponentS - a new way of CMSing!");
      //ImageField image3 = (ImageField)fieldManager.GetExtendedField("image", field1);
      //ImageField image4 = (ImageField)FieldRepository.Instance.GetExtendedField("image", new Guid(), "Image", "/Images/Components.png|CoMponentS - a new way of CMSing!");
      //ImageField image5 = (ImageField)FieldRepository.Instance.GetExtendedField("image", field1);
      //ExtendedField extendedField = FieldRepository.Instance.GetExtendedField(field2);
      //ImageField image6 = (ImageField)extendedField;
      //ImageField image7 = field2;
    }
  }
}
